.section1 {
    position: relative;
    top: 100px;
    margin-bottom: 100px;
}

.titulo_principal {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 1.5rem;
    margin-left: 5vw;
    margin-bottom: 2vw;
}

.button_date {
    position: relative;
    width: 360px;
    height: 40px;
    padding: 10px;
    font-size: 0.9rem;
    box-sizing: border-box;
    background-color: #d6ad6f;
    border: 1px solid #ccc;
    color: #000;

    border-radius: 4px;
    font-weight: 600;
    line-height: 0.6rem;
    background-image: url("../assets/imagens/home/gold_button3.png");
    background-size: cover;
    background-position:initial;
    background-repeat: no-repeat;
    cursor: pointer;
}



.button_finalizar {
    position: relative;
    width: 100%;
    height: 40px;
    padding: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: #d6ad6f;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: 600;
    line-height: 0.6rem;
    background-image: url("../assets/imagens/home/gold_button3.png");
    background-size: cover;
    background-position:initial;
    background-repeat: no-repeat;
    cursor: pointer;
}

.button_finalizar_disabled {
    position: relative;
    width: 100%;
    height: 40px;
    padding: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: #cacaca;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: 600;
    line-height: 0.6rem;
    cursor: pointer;
}

.calendar {
    position: absolute;
    top: 85px;
    display: none;
    width: 360px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px #00000064;
    z-index: 10;
}

.calendar header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar ul {
    text-align: center;
    font-family: 'Open Sans';
    font-weight: 600;
}

.calendar ul li {
    position: relative;
    display: flex;
    width: 25px;
    justify-content: center;
    align-items: center;
    color: #000;

}


.calendar .days, .calendar .dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 7 colunas fixas */
  padding: 10px;
  margin: 0;
  list-style: none;
  grid-auto-rows: 45px;
  justify-content: space-evenly;
}

.calendar .days {
    grid-auto-rows: 30px;
}

.dates li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


.dates li button.today {
    position: relative;
    left: 0rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
    z-index: 2;
}

.dates li button.today::before {
    content: "";
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #d6ad6f;
    border-radius: 50%;
    z-index: -1;
}

.dates li button.inactive {
    color: #5a5a5a;
}


.button_calendar {
    background: transparent;
    border: none;
    font-family: 'Open Sans';
    font-size: 1rem;
    padding: 10px;
    cursor: pointer;
    left: 10px;
    color: #000;
    
}

.button_calendar:hover {
    font-weight: 600;
}

.button {
    position: relative;
    top: 10px;
    /* background: #00000013; */
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.button img {
    position: relative;
    width: 30px;
}

#img_button_prev, #img_button_calendar_prev {
    left: 5px;
}

.calendar_flex {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time_flex {
    position: relative;
    top: 30px;
    left: 10vw;
    display: flex;
    gap: 20px;
    width: 80vw;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 8vw;
    margin-bottom: 5vw;
    justify-content: center;
}

.time {
    position: relative;
    width: 100px;
    height: 50px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #d6ad6f;
    color: #d6ad6f;
    font-family: 'Open Sans';
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 10px #00000029;
    cursor: pointer;
}

.time_selected {
    background: #d6ad6f;
    border: none;
    color: #000;
}

.time_disabled {
    background: #e9e9e9;
    color: #585757;
    border: none;
    box-shadow: none;
}

.button_submit {
    position: relative;
    left: 40vw;
    width: 20vw;
    height: 40px;
    background: #d6ad6f;
    color: #000;
    background-image: url("../assets/imagens/home/gold_button3.png");
    background-size: cover;
    background-position:initial;
    background-repeat: no-repeat;
    cursor: pointer;
    border-radius: 5px;
    margin: auto;
    border: none;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 2vw;
}

.button_submit_disabled {
    position: relative;
    left: 40vw;
    width: 20vw;
    height: 40px;
    background: #cacaca;
    cursor: pointer;
    border-radius: 5px;
    margin: auto;
    border: none;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 0.9rem;
    cursor: default;
    margin-top: 2vw;
}

.form {
    position: fixed;
    left: 30vw;
    top: 70px;
    display: block;
    background: #ffffffd3;
    width: 40vw;
    height: calc(100vh - 105px);
    max-height: calc(100dvh - 105px);
    border: 1px solid #000;
    border-radius: 5px;
    z-index: 2;
    padding: 10px;
    overflow-y: auto;
}


.btn_form_next, .btn_form_back {
    position: relative;
    width: 100px;
    height: 30px;
    background: #d6ad6f;
    border: none;
    border-radius: 5px;
    font-family: 'Open Sans';
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #000;
}

.btn_form_next {
    margin-left: auto;
}

.btn_form_back {
    background: #efefef;
}

.btn_voucher {
    position: relative;
    width: 100%;
    height: 30px;
    background: transparent;
    border: transparent;
    border-radius: 5px;
    font-family: 'Open Sans';
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #d6ad6f;
    padding: 5px;
    text-align: left;
    
}


.form_page_1, .form_page_2, .form_page_3, .form_page_4, .form_page_5, .form_page_voucher {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: space-between;
    align-content: space-between;
    border: 0px solid #000;
}

.ctn_form_limit {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 145px);
    width: 100%;
    border: 0px solid #000;
    overflow-y: auto;
    justify-content: space-evenly;
}


.titulo_form1 {
    position: relative;
    top: 5px;
    font-family: 'Open Sans';
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.titulo_form2 {
    position: relative;
    top: 5px;
    font-family: 'Open Sans';
    font-size: 0.9rem;
    font-weight: 600;
    color: #585757;
    margin-bottom: 10px;
    text-align: center;
}

.termos {
    position: relative;
    width: 40vw;
    height: 55vh;
    display: flex;
    flex-direction: column;
    width: fit-content;
    border-radius: 5px;
    border: 1px solid #0000003b;
    padding: 10px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.qrcode_payment {
    position: relative;
    display: block;
    width: 175px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #efefef;
    margin-bottom: 10px;
}

.input_qrcode {
    position: relative;
    background: #fff;
    width: 100%;
    flex: 5;
    font-family: 'Open Sans';
    font-size: 1rem;
    font-weight: 400;
    border-radius: 5px;
    border: 1px solid #000;
    color: #000;
    
}

.input_select {
    position: relative;
    margin: none;
    margin-right: 5px;
    margin-left: 5px;
    width: 20px;
    top: -6px;
}

.label {
    font-size: 0.9rem;
    display: flex;
    flex-direction: row;
}

.input {
    height: 30px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 5px;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #363636 inset !important;
  -webkit-box-shadow: 0 0 0px 1000px #363636 inset !important;
  -webkit-text-fill-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s;
}

.buttonCopyQR {
    position: relative;
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 5px;
    height: 30px;
    border: 1px solid #000;
    border-radius: 5px;
    font-family: 'Open Sans';
    font-size: 1rem;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
    justify-content: center;
    padding: 4px;
    margin-bottom: 10px;
    color: #000;

}

.pagamento_ctn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.timer {
    position: relative;
    width: 100%;
    font-family: 'Open Sans';
    font-size: 1.2rem;
    font-weight: 600;
    margin: auto;
    margin-bottom: 1vw;
    justify-content: center;
    text-align: center;
}


.pagamento_seguro {
    position: relative;
    font-family: 'Open Sans';
    font-size: 0.9rem;
    font-weight: 600;
    color: #d6ad6f;
}

.ctn_pagamento_seguro {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 10px;
}

.status_pagamento {
    position: relative;
    width: 100%;
    font-family: 'Open Sans';
    font-size: 0.9rem;
    margin: auto;
    align-items: center;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;

}

.flex_21 {
    flex: 2 !important;
}

.fechar-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    font-size: 1.2rem;
    width: 2vw;
    height: 2vw;
    cursor: pointer;
    border: none;
    margin-bottom: calc(-2vw - 10px);
}

.horizontal_confirmacao {
    display: flex;
    flex-direction: row;
    margin: auto;
}

.icone_confirmacao {
    width: 20px;
    height: 20px;
    margin-bottom: 10px;
    margin-right: 15px;
    transition: all 0.5s;
}

.icone_confirmacao:hover {
    transform: rotate(360deg);
}

.horizontal_confirmacao:hover .icone_confirmacao {
    transform: rotate(360deg);
}

.img_confirmacao {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 10vw;

}

.escrita_confirmacao {
    position: relative;
    font-family: 'Open Sans';
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
    width: auto;
}

.texto_confirmacao {
    position: relative;
    font-family: 'Open Sans';
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
    width: auto;
}

.voucher_error {
    position: relative;
    display: none;
    font-family: 'Open Sans';
    font-size: 0.8rem;
    color: red;
    font-weight: 400;
}

.voucher_loading {
    position: relative;
    top: 30px;
    align-items: center;
    gap: 10px;
    display: none;
    font-family: 'Open Sans';
    font-size: 0.8rem;
    color: rgb(0, 0, 0);
    font-weight: 400;
    margin: auto;
    margin-top: -16px;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 3px solid #ccc;
  border-top-color: #000; /* cor azul */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animação de giro */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.flex_form {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.section_produtos {
    position: relative;
    left: 5vw;
    width: 90vw;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 5vw;
    margin-bottom: 5vw;
    gap: 5vw;
}

.box_agendamento {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #58575778;
    overflow-x: auto;
    justify-content: space-between;
    transition: all 0.2s;
    cursor: pointer;
}

.box_agendamento:hover {
    box-shadow: 0 0 5px #0000005e;
}

.img_box_agendamento {
    position: relative;
    width: auto;
    border-radius: 10px;
    height: 150px;
    object-fit: cover; 
    object-position: center;
    filter: grayscale(1);
}

.box_agendamento:hover .img_box_agendamento {
    filter: grayscale(0);
}

.titulo_box_agendamento {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 25px;
}

.texto_box_agendamento {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 25px;
    text-align: justify;
}

.faixa_box_agendamento {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    background: #c0c0c05e;    
    border-radius: 5px;
}

.imagem_faixa_box_agendamento {
    position: relative;
    height: 30px;
    margin-top: 10px;
    margin-left: 20px;
}

.texto_faixa_box_agendamento {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 15px;
}


.section_valepresente {
    position: relative;
    width: 90vw;
    left: 5vw;
    display: flex;
    flex-direction: row;
    border-radius: 20px;
    border: 1px solid #58575778;
    height: 25vw;
    margin-bottom: 5vw;
}

.section_valepresente:hover {
    box-shadow: 0 0 5px #0000002e;
}

.img_valepresente {
    position: relative;
    flex: 1;
    height: auto;
    object-fit: cover; 
    object-position: center;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    
}

.box_valepresente {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    background: #ffffff;
    border-bottom-right-radius: 20px;
    border-bottom-right-radius: 20px;
    align-items: center;
    padding: 20px;
    gap: 10px;
    margin: auto;
}


.titulo_valepresente {
    position: relative;
    font-family: 'Open Sans';
    font-size: 1.5rem;
    height: auto;
    font-weight: 600;
    color: #d6ad6f;
    flex: 1;
}

.texto_valepresente {
    position: relative;
    font-family: 'Open Sans';
    font-size: 1rem;
    height: auto;
    font-weight: 400;
    color: #000;
    flex: 1;
    text-align: justify;
}


@media (max-width: 769px) {
    * {
        max-width: 100vw;
    }

    .titulo_principal {
        text-align: center;
    }

    .button_date {
        width: 70vw;
    }

    .days, .dates {
        display: flex;
        flex-direction: row;
    }

    .button_submit, .button_submit_disabled {
        width: 90vw;
        left: 5vw;
        margin-top: 5vw;
    }

    .time_flex {
        margin-bottom: 10vw;
    }

    .form {
        width: 90vw;
        top: 75px;
        left: 5vw;
        height: 70vh;
        background: #fff;
    }


    .button_calendar {
        margin: 0;
    }

    .calendar {
        width: 90vw;
        left: 5vw;
    }

    .flex_form {
        flex-direction: column;
        gap: 0;
    }

    .flex_21 {
        flex: 1;
    }

    .titulo_form1 {
        margin-bottom: 10px;
    }

    input, select, textarea {
        font-size: 16px;
    }

    ul.days li {
        position: relative;
        width: 100%;
        text-align: center;
        color: #000;

    }

    ul.dates li{
        width: 100%;
        color: #000;

    }

    .input {
        font-size: 16px !important;
    }

    .fechar-btn {
        right: 20px;
    }

}